---
layout: m1x_soap
title: Product Custom Value Info
---

<h3><a name="product_custom_option_value.info-Module%3AComplexProductAPI"></a><b>Module: Complex Product API</b></h3>


<h4><a name="product_custom_option_value.info-Resource%3Aproductcustomoptionvalue"></a><b>Resource: product_custom_option_value</b></h4>


<h5><a name="product_custom_option_value.info-Method%3A"></a>Method:</h5>

<ul>
	<li>product_custom_option_value.info (SOAP V1)</li>
	<li>catalogProductCustomOptionValueInfo (SOAP V2)</li>
</ul>


<p>Allows you to retrieve full information about the specified product custom option value.</p>

<p><b>Arguments:</b></p>

<table><tbody>
<tr>
<th> Type </th>
<th> Name </th>
<th> Description </th>
</tr>
<tr>
<td> string </td>
<td> sessionId </td>
<td> Session ID </td>
</tr>
<tr>
<td> string </td>
<td> valueId </td>
<td> Value ID </td>
</tr>
<tr>
<td> string </td>
<td> store </td>
<td> Store view ID or code (optional) </td>
</tr>
</tbody></table>


<p><b>Return:</b></p>

<table><tbody>
<tr>
<th> Type </th>
<th> Name </th>
<th> Description </th>
</tr>
<tr>
<td> array <br class="atl-forced-newline" /> </td>
<td> result </td>
<td> Array of catalogProductCustomOptionValueInfoEntity </td>
</tr>
</tbody></table>


<p>The <b>catalogProductCustomOptionValueInfoEntity</b> content is as follows:</p>

<table><tbody>
<tr>
<th> Type </th>
<th> Name </th>
<th> Description </th>
</tr>
<tr>
<td> string </td>
<td> value_id <br class="atl-forced-newline" /> </td>
<td> Option value ID <br class="atl-forced-newline" /> </td>
</tr>
<tr>
<td> string <br class="atl-forced-newline" /> </td>
<td> option_id <br class="atl-forced-newline" /> </td>
<td> Option ID </td>
</tr>
<tr>
<td> string <br class="atl-forced-newline" /> </td>
<td> sku <br class="atl-forced-newline" /> </td>
<td> Custom option value row SKU <br class="atl-forced-newline" /> </td>
</tr>
<tr>
<td> string <br class="atl-forced-newline" /> </td>
<td> sort_order <br class="atl-forced-newline" /> </td>
<td> Option value sort order </td>
</tr>
<tr>
<td> string <br class="atl-forced-newline" /> </td>
<td> default_price <br class="atl-forced-newline" /> </td>
<td> Option value default price <br class="atl-forced-newline" /> </td>
</tr>
<tr>
<td> string <br class="atl-forced-newline" /> </td>
<td> default_price_type <br class="atl-forced-newline" /> </td>
<td> Default price type. Possible values are as follows: "fixed" or "percent" <br class="atl-forced-newline" /> </td>
</tr>
<tr>
<td> string <br class="atl-forced-newline" /> </td>
<td> store_price <br class="atl-forced-newline" /> </td>
<td> Option value store price <br class="atl-forced-newline" /> </td>
</tr>
<tr>
<td> string <br class="atl-forced-newline" /> </td>
<td> store_price_type <br class="atl-forced-newline" /> </td>
<td> Store price type. Possible values are as follows: "fixed" or "percent" <br class="atl-forced-newline" /> </td>
</tr>
<tr>
<td> string <br class="atl-forced-newline" /> </td>
<td> price <br class="atl-forced-newline" /> </td>
<td> Option value price </td>
</tr>
<tr>
<td> string <br class="atl-forced-newline" /> </td>
<td> price_type <br class="atl-forced-newline" /> </td>
<td> Price type. Possible values are as follows: "fixed" or "percent" </td>
</tr>
<tr>
<td> string <br class="atl-forced-newline" /> </td>
<td> default_title <br class="atl-forced-newline" /> </td>
<td> Option value default title </td>
</tr>
<tr>
<td> string <br class="atl-forced-newline" /> </td>
<td> store_title <br class="atl-forced-newline" /> </td>
<td> Option value store title </td>
</tr>
<tr>
<td> string <br class="atl-forced-newline" /> </td>
<td> title <br class="atl-forced-newline" /> </td>
<td> Option value title </td>
</tr>
</tbody></table>


<p><b>Faults:</b></p>

<table><tbody>
<tr>
<th> Fault Code </th>
<th> Fault Message </th>
</tr>
<tr>
<td> 101 </td>
<td> Option value with requested id does not exist. <br class="atl-forced-newline" /> </td>
</tr>
</tbody></table>


<h4><a name="product_custom_option_value.info-Examples"></a>Examples</h4>

<h5><a name="product_custom_option_value.info-RequestExampleSOAPV1"></a>Request Example SOAP V1</h5>

<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<div id="root">
		<pre class="theme: Default; brush: php; gutter: false">$client = new SoapClient('http://magentohost/api/soap/?wsdl');

// If somestuff requires api authentification,
// then get a session token
$session = $client-&gt;login('apiUser', 'apiKey');

$result = $client-&gt;call($session, 'product_custom_option_value.info', '5');
var_dump($result);</pre>
		</div>
</div></div>

<h5><a name="product_custom_option_value.info-RequestExampleSOAPV2"></a>Request Example SOAP V2</h5>

<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<div id="root">
		<pre class="theme: Default; brush: php; gutter: false">$proxy = new SoapClient('http://magentohost/api/v2_soap/?wsdl'); // TODO : change url
$sessionId = $proxy-&gt;login('apiUser', 'apiKey'); // TODO : change login and pwd if necessary

$result = $proxy-&gt;catalogProductCustomOptionValueInfo($sessionId, '5');
var_dump($result);</pre>
		</div>
</div></div>

<h5><a name="product_custom_option_value.info-RequestExampleSOAPV2%28WSIComplianceMode%29"></a>Request Example SOAP V2 (WS-I Compliance Mode)</h5>

<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<div id="root">
		<pre class="theme: Default; brush: php; gutter: false">$proxy = new SoapClient('http://magentohost/api/v2_soap/?wsdl');

$sessionId = $proxy-&gt;login((object)array('username' =&gt; 'apiUser', 'apiKey' =&gt; 'apiKey'));

$result = $proxy-&gt;catalogProductCustomOptionValueInfo((object)array('sessionId' =&gt; $sessionId-&gt;result, 'valueId' =&gt; '5'));

var_dump($result-&gt;result);</pre>
		</div>
</div></div>

<h5><a name="product_custom_option_value.info-ResponseExampleSOAPV1"></a>Response Example SOAP V1</h5>

<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
<div id="root">
		<pre class="theme: Default; brush: java; gutter: false">array
  'option_id' =&gt; string '5' (length=1)
  'sku' =&gt; string 'slider' (length=6)
  'sort_order' =&gt; string '0' (length=1)
  'default_title' =&gt; string 'slider' (length=6)
  'store_title' =&gt; string 'slider' (length=6)
  'title' =&gt; string 'slider' (length=6)
  'default_price' =&gt; string '239.9900' (length=8)
  'default_price_type' =&gt; string 'fixed' (length=5)
  'store_price' =&gt; string '239.9900' (length=8)
  'store_price_type' =&gt; string 'fixed' (length=5)
  'price' =&gt; string '239.9900' (length=8)
  'price_type' =&gt; string 'fixed' (length=5)
  'value_id' =&gt; string '2' (length=1)</pre>
		</div>
</div></div>

<?php include(__ROOT__ . 'footer.php'); ?>
